Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Responsiveness for low width #33

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

koger23
Copy link

@koger23 koger23 commented Jul 7, 2024

SVG line was not responsive in smaller size, it had overflow on the left.

Removing height solved the issue, but aligned the svg lower to the bottom compared to the original solution, which seemed to be fixed by adding 3px padding to the bottom.

Before:
image

After:
image

SVG line was not responsive in smaller size, it has overflow on the left.
Removing height solved the issue, but aligned the svg lower to the bottom, which seemed to be fixed by adding 3px padding to the bottom.
@Sese-Schneider Sese-Schneider self-requested a review July 18, 2024 12:09
@Sese-Schneider Sese-Schneider self-assigned this Jul 18, 2024
@Sese-Schneider Sese-Schneider added the bug Something isn't working label Jul 18, 2024
Copy link
Owner

@Sese-Schneider Sese-Schneider left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @koger23,
Thank you for your PR.

Unfortunately, the change breaks the "normal" view:

main:

image

 width: 100%;
 height: 15px;

PR:

image

width: 100%;
padding: 3px;

@koger23
Copy link
Author

koger23 commented Aug 1, 2024

Oh, sorry about that, I forgot to test it on greater screen, I will working on it.

@Sese-Schneider Sese-Schneider changed the title Update energy-overview-card.ts fix: Responsiveness for low width Aug 6, 2024
@Sese-Schneider Sese-Schneider marked this pull request as draft August 6, 2024 10:07
@Sese-Schneider Sese-Schneider removed their assignment Aug 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants